package studia.figlewicz.math.library;

import java.util.Date;
import java.util.LinkedHashMap;

public class Stala implements ZmiennaObjasniajaca {
	
	public Stala (Double wartosc) {
		this.wartosc = wartosc;
	}
	public Stala (double wartosc) {
		this.wartosc = new Double(wartosc);
	}
	
	
	private Double wartosc;
	public Double getWartosc() {
		return wartosc;
	}
	public void setWartosc(Double wartosc) {
		this.wartosc = wartosc;
	}


	@Override
	public LinkedHashMap<Date, Double> getPunkty() {
		LinkedHashMap<Date, Double> resoult = new LinkedHashMap<Date, Double>();
		resoult.put(Utils.getDefaultDate(), wartosc);
		return resoult;
	}
	
}
